Skip to content

fix(release): move pnpm overrides + patchedDependencies to pnpm-workspace.yaml#558

Merged
AlemTuzlak merged 1 commit into
mainfrom
fix-pnpm-v11-patches-workspace
May 14, 2026
Merged

fix(release): move pnpm overrides + patchedDependencies to pnpm-workspace.yaml#558
AlemTuzlak merged 1 commit into
mainfrom
fix-pnpm-v11-patches-workspace

Conversation

@AlemTuzlak
Copy link
Copy Markdown
Contributor

Summary

pnpm v11 stopped reading settings from the pnpm field of package.json (release notes). Settings now have to live in pnpm-workspace.yaml instead. The repo's packageManager was bumped from pnpm v10 to v11.1.1 in #550, but the two settings under the pnpm key — overrides and patchedDependencies — weren't moved, so they've been silently ignored ever since.

The abbrev override is benign. The missing @changesets/assemble-release-plan patch is the cause of #554's broken version bumps:

  • @tanstack/ai-anthropic: 0.8.6 → 1.0.0 (should be → 0.9.0)
  • @tanstack/ai-gemini: 0.10.3 → 1.0.0 (should be → 0.11.0)
  • @tanstack/ai-ollama: 0.6.13 → 1.0.0 (should be → 0.7.0)
  • … and similarly across other patch-bumped packages

The patch short-circuits shouldBumpMajor for any peerDependencies change so peer-only updates don't cascade into major bumps across the workspace.

Verification

rm -rf node_modules && pnpm install
grep -A12 "function shouldBumpMajor" node_modules/.pnpm/@changesets+assemble-releas_*/node_modules/@changesets/assemble-release-plan/dist/changesets-assemble-release-plan.cjs.js

Shows the patched if (depType === 'peerDependencies') return false; early-return is now present.

Test plan

  • pnpm install from clean state applies the patch
  • pnpm test:knip / pnpm test:sherif pass
  • After this lands on main, the changesets workflow will regenerate ci: Version Packages #554 with the correct minor bumps on the next run

…pace.yaml

pnpm v11 stopped reading settings from the \`pnpm\` field of \`package.json\`
(https://github.com/pnpm/pnpm/releases/tag/v11.0.0). Settings have to live
in \`pnpm-workspace.yaml\` instead. The repo's \`packageManager\` was
bumped from pnpm v10 to v11.1.1 in #550, but the two settings under the
\`pnpm\` key — \`overrides\` and \`patchedDependencies\` — weren't moved,
so they've been silently ignored ever since.

The \`abbrev\` override is benign, but the missing
\`@changesets/assemble-release-plan\` patch is the cause of PR #554's
broken bumps (anthropic 0.8.6 → 1.0.0 instead of → 0.9.0, gemini 0.10.3
→ 1.0.0 instead of → 0.11.0, etc.). The patch short-circuits
\`shouldBumpMajor\` for any \`peerDependencies\` change so peer-only bumps
don't cascade into major bumps across the workspace.

Verified locally with \`rm -rf node_modules && pnpm install\`: the patch
is now applied (the early-return \`if (depType === 'peerDependencies')\`
is present in
\`node_modules/.pnpm/@changesets+assemble-releas_<hash>/node_modules/@changesets/assemble-release-plan/dist/changesets-assemble-release-plan.cjs.js\`).

Once this lands, the changesets workflow on the next push to main will
regenerate \`changeset-release/main\` with the correct minor bumps.
@github-actions
Copy link
Copy Markdown
Contributor

🚀 Changeset Version Preview

14 package(s) bumped directly, 20 bumped as dependents.

🟥 Major bumps

Package Version Reason
@tanstack/ai-anthropic 0.8.6 → 1.0.0 Changeset
@tanstack/ai-fal 0.7.3 → 1.0.0 Changeset
@tanstack/ai-gemini 0.10.3 → 1.0.0 Changeset
@tanstack/ai-grok 0.7.3 → 1.0.0 Changeset
@tanstack/ai-groq 0.1.11 → 1.0.0 Changeset
@tanstack/ai-ollama 0.6.13 → 1.0.0 Changeset
@tanstack/ai-openai 0.8.5 → 1.0.0 Changeset
@tanstack/ai-openrouter 0.8.5 → 1.0.0 Changeset
@tanstack/ai-react 0.8.2 → 1.0.0 Changeset
@tanstack/ai-solid 0.7.2 → 1.0.0 Changeset
@tanstack/ai-svelte 0.7.2 → 1.0.0 Changeset
@tanstack/ai-vue 0.7.2 → 1.0.0 Changeset
@tanstack/openai-base 0.2.1 → 1.0.0 Changeset
@tanstack/ai-code-mode 0.1.10 → 1.0.0 Dependent
@tanstack/ai-code-mode-skills 0.1.10 → 1.0.0 Dependent
@tanstack/ai-elevenlabs 0.2.3 → 1.0.0 Dependent
@tanstack/ai-event-client 0.3.0 → 1.0.0 Dependent
@tanstack/ai-isolate-node 0.1.10 → 1.0.0 Dependent
@tanstack/ai-isolate-quickjs 0.1.10 → 1.0.0 Dependent
@tanstack/ai-preact 0.6.22 → 1.0.0 Dependent
@tanstack/ai-react-ui 0.6.3 → 1.0.0 Dependent
@tanstack/ai-solid-ui 0.6.3 → 1.0.0 Dependent

🟨 Minor bumps

Package Version Reason
@tanstack/ai 0.16.0 → 0.17.0 Changeset

🟩 Patch bumps

Package Version Reason
@tanstack/ai-client 0.9.1 → 0.9.2 Dependent
@tanstack/ai-code-mode-models-eval 0.0.15 → 0.0.16 Dependent
@tanstack/ai-devtools-core 0.3.27 → 0.3.28 Dependent
@tanstack/ai-isolate-cloudflare 0.2.1 → 0.2.2 Dependent
@tanstack/ai-vue-ui 0.1.33 → 0.1.34 Dependent
@tanstack/preact-ai-devtools 0.1.31 → 0.1.32 Dependent
@tanstack/react-ai-devtools 0.2.31 → 0.2.32 Dependent
@tanstack/solid-ai-devtools 0.2.31 → 0.2.32 Dependent
ts-svelte-chat 0.1.41 → 0.1.42 Dependent
ts-vue-chat 0.1.41 → 0.1.42 Dependent
vanilla-chat 0.0.37 → 0.0.38 Dependent

@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented May 14, 2026

View your CI Pipeline Execution ↗ for commit 5bcf4af

Command Status Duration Result
nx run-many --targets=build --exclude=examples/** ✅ Succeeded 1m 55s View ↗

☁️ Nx Cloud last updated this comment at 2026-05-14 14:01:25 UTC

@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented May 14, 2026

View your CI Pipeline Execution ↗ for commit 5bcf4af

Command Status Duration Result
nx run-many --targets=build --exclude=examples/** ✅ Succeeded 1m 55s View ↗

☁️ Nx Cloud last updated this comment at 2026-05-14 14:01:26 UTC

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 14, 2026

Open in StackBlitz

@tanstack/ai

npm i https://pkg.pr.new/@tanstack/ai@558

@tanstack/ai-anthropic

npm i https://pkg.pr.new/@tanstack/ai-anthropic@558

@tanstack/ai-client

npm i https://pkg.pr.new/@tanstack/ai-client@558

@tanstack/ai-code-mode

npm i https://pkg.pr.new/@tanstack/ai-code-mode@558

@tanstack/ai-code-mode-skills

npm i https://pkg.pr.new/@tanstack/ai-code-mode-skills@558

@tanstack/ai-devtools-core

npm i https://pkg.pr.new/@tanstack/ai-devtools-core@558

@tanstack/ai-elevenlabs

npm i https://pkg.pr.new/@tanstack/ai-elevenlabs@558

@tanstack/ai-event-client

npm i https://pkg.pr.new/@tanstack/ai-event-client@558

@tanstack/ai-fal

npm i https://pkg.pr.new/@tanstack/ai-fal@558

@tanstack/ai-gemini

npm i https://pkg.pr.new/@tanstack/ai-gemini@558

@tanstack/ai-grok

npm i https://pkg.pr.new/@tanstack/ai-grok@558

@tanstack/ai-groq

npm i https://pkg.pr.new/@tanstack/ai-groq@558

@tanstack/ai-isolate-cloudflare

npm i https://pkg.pr.new/@tanstack/ai-isolate-cloudflare@558

@tanstack/ai-isolate-node

npm i https://pkg.pr.new/@tanstack/ai-isolate-node@558

@tanstack/ai-isolate-quickjs

npm i https://pkg.pr.new/@tanstack/ai-isolate-quickjs@558

@tanstack/ai-ollama

npm i https://pkg.pr.new/@tanstack/ai-ollama@558

@tanstack/ai-openai

npm i https://pkg.pr.new/@tanstack/ai-openai@558

@tanstack/ai-openrouter

npm i https://pkg.pr.new/@tanstack/ai-openrouter@558

@tanstack/ai-preact

npm i https://pkg.pr.new/@tanstack/ai-preact@558

@tanstack/ai-react

npm i https://pkg.pr.new/@tanstack/ai-react@558

@tanstack/ai-react-ui

npm i https://pkg.pr.new/@tanstack/ai-react-ui@558

@tanstack/ai-solid

npm i https://pkg.pr.new/@tanstack/ai-solid@558

@tanstack/ai-solid-ui

npm i https://pkg.pr.new/@tanstack/ai-solid-ui@558

@tanstack/ai-svelte

npm i https://pkg.pr.new/@tanstack/ai-svelte@558

@tanstack/ai-utils

npm i https://pkg.pr.new/@tanstack/ai-utils@558

@tanstack/ai-vue

npm i https://pkg.pr.new/@tanstack/ai-vue@558

@tanstack/ai-vue-ui

npm i https://pkg.pr.new/@tanstack/ai-vue-ui@558

@tanstack/openai-base

npm i https://pkg.pr.new/@tanstack/openai-base@558

@tanstack/preact-ai-devtools

npm i https://pkg.pr.new/@tanstack/preact-ai-devtools@558

@tanstack/react-ai-devtools

npm i https://pkg.pr.new/@tanstack/react-ai-devtools@558

@tanstack/solid-ai-devtools

npm i https://pkg.pr.new/@tanstack/solid-ai-devtools@558

commit: 5bcf4af

AlemTuzlak added a commit that referenced this pull request May 14, 2026
(corrected — pnpm v11 was ignoring the changesets patch; see #558)
@AlemTuzlak AlemTuzlak merged commit f7c81e0 into main May 14, 2026
10 checks passed
@AlemTuzlak AlemTuzlak deleted the fix-pnpm-v11-patches-workspace branch May 14, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant